/**
 * Created by XK-SH on 2017/5/24.
 */

const serviceReservation = r => require.ensure([], () => r(require('../page/service/serviceReservation')), 'serviceReservation');
const serviceTracking = r => require.ensure([], () => r(require('../page/service/serviceTracking')), 'serviceTracking');
const servicePlanList = r => require.ensure([], () => r(require('../page/service/servicePlanList')), 'servicePlanList');
const serviceRecord = r => require.ensure([], () => r(require('../page/service/serviceRecord')), 'serviceRecord');
const serviceItems = r => require.ensure([], () => r(require('../page/service/serviceItems')), 'serviceItems');
const workPlan = r => require.ensure([], () => r(require('../page/service/workPlan')), 'workPlan');
const servicePlanTemplate = r => require.ensure([], () => r(require('../page/service/servicePlanTemplate')), 'servicePlanTemplate');

const addServiceItems = r => require.ensure([], () => r(require('../page/service/addServiceItems')), 'addServiceItems');
const servicePlan = r => require.ensure([], () => r(require('../page/service/servicePlan')), 'servicePlan');
const addTemplate = r => require.ensure([], () => r(require('../page/service/addTemplate')), 'addTemplate');
const workType = r => require.ensure([], () => r(require('../page/service/workType')), 'workType');
const workPlanInfo = r => require.ensure([], () => r(require('../page/service/workPlanInfo')), 'workPlanInfo');
const serviceRecordInfo = r => require.ensure([], () => r(require('../page/service/serviceRecordInfo')), 'serviceRecordInfo');
const careLeaveSeeting = r => require.ensure([], () => r(require('../page/service/careLeaveSeeting')), 'careLeaveSeeting');
const addNewCareLeaveSetting = r => require.ensure([], () => r(require('../page/service/addNewCareLeaveSetting')), 'addNewCareLeaveSetting');
export default [
  {path: 'service/serviceItems', component: serviceItems,meta: {title: "服务项目",name:"serviceItems",no:"2",num:"2-1"},name:"serviceItems"},
  {path: 'service/servicePlanList', component: servicePlanList,meta: {title: "服务计划",name:"servicePlanList",no:"2",num:"2-2"},name:"servicePlanList"},
  {path: 'service/servicePlanTemplate', component: servicePlanTemplate,meta: {title: "服务计划套餐",name:"servicePlanTemplate",no:"2",num:"2-3"},name:"servicePlanTemplate"},
  {path: 'service/serviceReservation', component: serviceReservation,meta: {title: "服务预约",name:"serviceReservation",no:"2",num:"2-4"},name:"serviceReservation"},
  {path: 'service/serviceTracking', component: serviceTracking,meta: {title: "服务跟踪",name:"serviceTracking",no:"2",num:"2-5"},name:"serviceTracking"},
  {path: 'service/serviceRecord', component: serviceRecord,meta: {title: "服务记录",name:"serviceRecord",no:"2",num:"2-6"},name:"serviceRecord"},
  {path: 'service/workPlan', component: workPlan,meta: {title: "工作计划",name:"workPlan",no:"2",num:"2-7"},name:"workPlan"},
    {path: 'service/careLeaveSeeting', component: careLeaveSeeting,meta: {title: "照护等级配置",name:"careLeaveSeeting",no:"2",num:"2-8"},name:"careLeaveSeeting"},


    {path: 'service/addServiceItems/:way/:serviceId', component: addServiceItems,meta: {title: "添加服务项目",name:"addServiceItems",no:"2",num:"2-1"},name:"addServiceItems"},
  {path: 'service/addTemplate/:way/:comboId', component: addTemplate,meta: {title: "新增套餐",name:"addTemplate",no:"2",num:"2-3"},name:"addTemplate"},
  {path: 'service/serviceRecordInfo/:workId', component: serviceRecordInfo,meta: {title: "服务记录详情",name:"serviceRecordInfo",no:"2",num:"2-6"},name:"serviceRecordInfo"},

  {path: 'service/servicePlan/:way/:rowObj', component: servicePlan,meta: {title: "服务计划",name:"servicePlan",no:"2",num:"2-2"},name:"servicePlan"},
  {path: 'service/workType', component: workType,meta: {title: "排班类型",name:"workType",no:"2",num:"2-7"},name:"workType"},
  {path: 'service/workPlanInfo/:emObj', component: workPlanInfo,meta: {title: "工作计划-详情",name:"workPlanInfo",no:"2",num:"2-7"},name:"workPlanInfo"},
    {path: 'service/addNewCareLeaveSetting', component: addNewCareLeaveSetting,meta: {title: "新增照护等级",name:"addNewCareLeaveSetting",no:"2",num:"2-8"},name:"addNewCareLeaveSetting"},



]
